// /address/defaultAddress
import request from '../utils/request'

// 查看默认地址
export function defaultAddress (params) {
  return request.post('/address/defaultAddress', params)
}

export function addOrder (params) {
  return request.post('/order/addOrder', params)
}

export function confirmOrder (params) {
  return request.get('/order/confirmOrder', { params })
}

// 添加地址
export function inputAddress (params) {
  return request.post('/address/add', params)
}

// address/list
// 获取地址
export function findAddress (params) {
  return request.get('/address/list', { params })
}
